﻿Public Class MBC_para_floatItem

    Public Const _base As UShort = 4000
    Public Const interval_eachref As UShort = 20      '每一个库的地址间隔

    '第一个冷库的地址
    Public Const Alarm_temp_highlimit As UShort = _base + 0        '库温度高限
    Public Const Alarm_temp_lowimit As UShort = _base + 2         '库温度低限
    Public Const Alarm_hum_highlimit As UShort = _base + 4      '库湿度高限
    Public Const Alarm_hum_lowimit As UShort = _base + 6     '库湿度低限

    Public Const AlarmPer_temp_highlimit As UShort = _base + 8    '冷库温度预警上限
    Public Const AlarmPer_temp_lowimit As UShort = _base + 10 '冷库温度预警下限
    Public Const AlarmPer_hum_highlimit As UShort = _base + 12 '冷库湿度预警上限
    Public Const AlarmPer_hum_lowimit As UShort = _base + 14 '冷库湿度预警下限

    Public Const JointActionOpen_CloseDwLimit As UShort = _base + 16   '关闭强制报警开启的温度下限
    Public Const JointActionClose_CloseDwLimit As UShort = _base + 18    '关闭强制报警关闭的温度上限

    '扩展板使用上下限地址
    Public Const Alarm_temp_highlimitEx16 As UShort = _base + 150        '库温度高限
    Public Const Alarm_temp_lowimitEx16 As UShort = _base + 152         '库温度低限
    Public Const Alarm_hum_highlimitEx16 As UShort = _base + 154      '库湿度高限
    Public Const Alarm_hum_lowimitEx16 As UShort = _base + 156     '库湿度低限

    Public Const AlarmPer_temp_highlimitEx16 As UShort = _base + 158    '冷库温度预警上限
    Public Const AlarmPer_temp_lowimitEx16 As UShort = _base + 160 '冷库温度预警下限
    Public Const AlarmPer_hum_highlimitEx16 As UShort = _base + 162 '冷库湿度预警上限
    Public Const AlarmPer_hum_lowimitEx16 As UShort = _base + 164 '冷库湿度预警下限

    Public Const JointActionOpen_CloseDwLimitEx16 As UShort = _base + 166   '关闭强制报警开启的温度下限
    Public Const JointActionClose_CloseDwLimitEx16 As UShort = _base + 168    '关闭强制报警关闭的温度上限

End Class
